DX11 SET MESH VERTEXDATA VECTOR4

Sets a vector4 value at the given offset of the given vertex id in the vertex data of the specified mesh.
A vector4 is just four adjacent floats, so you can also call DX11 SET MESH VERTEXDATA FLOAT four times and increase the offset by 4
(since a float uses 4 bytes) for each consecutive call if you prefer that.
This function will trigger an error message if the provided vertex / offset is not valid in the vertex data of the specified mesh.
Use DX11 GET MESH VERTEXDATA VERTEX COUNT and DX11 GET MESH VERTEXDATA SEMANTIC OFFSET to ensure your values are valid.

  Syntax
DX11 SET MESH VERTEXDATA VECTOR4 mesh, vertex, offset, vector
  Parameters
mesh
Dword
The mesh for which to set the vertex data value.
vertex
Dword
The vertex to write the value to.
offset
Dword
The offset from the start of the vertex' data to write at. Use DX11 GET MESH VERTEXDATA SEMANTIC OFFSET to find offsets by semantics.
vector
Dword
The vector4 to write to the specified vertex data element.

  Returns

This function does not return a value.

  See also

MESH Functions Menu
DX11 Function Categories